package com.dailyblue.java.jdbc.pack0325.serivce;

import com.dailyblue.java.jdbc.pack0325.bean.User;
import com.dailyblue.java.jdbc.pack0325.dao.UserDAO;

public class UserService {

    private UserDAO udao ;

    public UserService() {
        udao = new UserDAO();
    }
    public User login(String name,String password){
        return udao.login(name,password);
    }
}
